Optimal. Leaf size=38 \[ \frac {b (c+d x)^4}{4 d^2}-\frac {(c+d x)^3 (b c-a d)}{3 d^2} \]
________________________________________________________________________________________
Rubi [A] time = 0.03, antiderivative size = 38, normalized size of antiderivative = 1.00, number of steps used = 3, number of rules used = 2, integrand size = 29, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.069, Rules used = {626, 43} \begin {gather*} \frac {b (c+d x)^4}{4 d^2}-\frac {(c+d x)^3 (b c-a d)}{3 d^2} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 43
Rule 626
Rubi steps
\begin {align*} \int \frac {\left (a c+(b c+a d) x+b d x^2\right )^2}{a+b x} \, dx &=\int (a+b x) (c+d x)^2 \, dx\\ &=\int \left (\frac {(-b c+a d) (c+d x)^2}{d}+\frac {b (c+d x)^3}{d}\right ) \, dx\\ &=-\frac {(b c-a d) (c+d x)^3}{3 d^2}+\frac {b (c+d x)^4}{4 d^2}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A] time = 0.01, size = 47, normalized size = 1.24 \begin {gather*} \frac {1}{12} x \left (4 d x^2 (a d+2 b c)+6 c x (2 a d+b c)+12 a c^2+3 b d^2 x^3\right ) \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
IntegrateAlgebraic [B] time = 0.09, size = 88, normalized size = 2.32 \begin {gather*} \frac {(a+b x)^4 \left (\frac {6 a^2 d^2}{(a+b x)^2}+\frac {6 b^2 c^2}{(a+b x)^2}+\frac {8 b c d}{a+b x}-\frac {12 a b c d}{(a+b x)^2}-\frac {8 a d^2}{a+b x}+3 d^2\right )}{12 b^3} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
fricas [A] time = 0.39, size = 48, normalized size = 1.26 \begin {gather*} \frac {1}{4} \, b d^{2} x^{4} + a c^{2} x + \frac {1}{3} \, {\left (2 \, b c d + a d^{2}\right )} x^{3} + \frac {1}{2} \, {\left (b c^{2} + 2 \, a c d\right )} x^{2} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
giac [A] time = 0.20, size = 49, normalized size = 1.29 \begin {gather*} \frac {1}{4} \, b d^{2} x^{4} + \frac {2}{3} \, b c d x^{3} + \frac {1}{3} \, a d^{2} x^{3} + \frac {1}{2} \, b c^{2} x^{2} + a c d x^{2} + a c^{2} x \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maple [A] time = 0.04, size = 55, normalized size = 1.45 \begin {gather*} \frac {b \,d^{2} x^{4}}{4}+a \,c^{2} x +\frac {\left (b c d +\left (a d +b c \right ) d \right ) x^{3}}{3}+\frac {\left (a c d +\left (a d +b c \right ) c \right ) x^{2}}{2} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maxima [A] time = 1.02, size = 48, normalized size = 1.26 \begin {gather*} \frac {1}{4} \, b d^{2} x^{4} + a c^{2} x + \frac {1}{3} \, {\left (2 \, b c d + a d^{2}\right )} x^{3} + \frac {1}{2} \, {\left (b c^{2} + 2 \, a c d\right )} x^{2} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
mupad [B] time = 0.05, size = 47, normalized size = 1.24 \begin {gather*} x^2\,\left (\frac {b\,c^2}{2}+a\,d\,c\right )+x^3\,\left (\frac {a\,d^2}{3}+\frac {2\,b\,c\,d}{3}\right )+\frac {b\,d^2\,x^4}{4}+a\,c^2\,x \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
sympy [A] time = 0.13, size = 49, normalized size = 1.29 \begin {gather*} a c^{2} x + \frac {b d^{2} x^{4}}{4} + x^{3} \left (\frac {a d^{2}}{3} + \frac {2 b c d}{3}\right ) + x^{2} \left (a c d + \frac {b c^{2}}{2}\right ) \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________